package com.tust.bean;

public class StudentCourse {
    private int scid; // 学生选课表主键
    private int sid; // 学生学号
    private String sname; // 学生姓名
    private int tcid; // 授课表ID
    private int tid; // 教师工号
    private String tname; // 教师名
    private String cid; // 课程id
    private String cname; // 课程名
    private String score; // 课程分数

    private int isDelete; // 是否删除 0未删除 1删除

    public StudentCourse() {
    }

    public StudentCourse(int sid, int tcid) {
        this.sid = sid;
        this.tcid = tcid;
    }

    public int getScid() {
        return scid;
    }

    public void setScid(int scid) {
        this.scid = scid;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public int getTcid() {
        return tcid;
    }

    public void setTcid(int tcid) {
        this.tcid = tcid;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "StudentCourse{" +
                "scid=" + scid +
                ", sid=" + sid +
                ", sname='" + sname + '\'' +
                ", tcid=" + tcid +
                ", tid=" + tid +
                ", tname='" + tname + '\'' +
                ", cid='" + cid + '\'' +
                ", cname='" + cname + '\'' +
                ", score='" + score + '\'' +
                '}';
    }
}
